newInstance

open fun newInstance(pacUrl: String): UrlProxyConfig

Creates a proxy configuration based on the PAC file located at the given pacUrl.

Parameters

pacUrl

a string that represents a valid URL address of the PAC file. Cannot be null, empty or contain a path to the PAC file on a local file system.

Throws

when pacUrl is empty or blank